from entity import *

user1 = User('lao li',22,'male')
# user1.show()
print(User.count)
print(user1.count)

user2 = User('root',21,'female')
print(user2.getName())
user2.email = "root@localhost"
print(user2.email)

User.count = 22
print(User.count)
print(user1.count)
print(user2.count)

user1.age = 55
print(user1.age)
print(user2.age)

User.show2()

User.show3('hi','wld')
# user1.show()


u4 = User('admin')
u5 = User('admin','23')
u6 = User('admin','44','m')
print(u4.age)
print(u5.age)
print(u6.age,u6.sex)


user2.setName('user2')
print(user2.getName())
print('-----------')
child1 = Child()
child1.show1()
# print(child1.name)
# child1.show()
print(child1.sub_name)

son1 = Son()
son1.show1()

# 银行系统要加面向对象